package com.gopay.common.domain.dps;

import com.gopay.common.domain.BaseEntity;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 兑付申请记录表
 * @author ZHOUPENG
 * @date   2017年7月31日 下午7:01:29
 */
@Entity
@Table(name="WA_TYY_REMEED_APPLY")
public class WaTyyRemeedApply extends BaseEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	private String gopayOrderId;
	
	/**
	 * 购买订单号
	 */
	private String purchaseGopayOrderId;
	
	/**
	 * 操作人ID
	 */
	private String operId;
	
	/**
	 *操作类型-1兑付申请  2重发
	 */
	private String operNum;
	
	/**
	 * 创建时间
	 */
	private Date createTime;
	@Id
    @Column(name = "GOPAY_ORDER_ID", unique = true, nullable = false, length = 30)
	public String getGopayOrderId() {
		return gopayOrderId;
	}

	public void setGopayOrderId(String gopayOrderId) {
		this.gopayOrderId = gopayOrderId;
	}
	@Column(name = "PURCHASE_GOPAY_ORDER_ID")
	public String getPurchaseGopayOrderId() {
		return purchaseGopayOrderId;
	}

	public void setPurchaseGopayOrderId(String purchaseGopayOrderId) {
		this.purchaseGopayOrderId = purchaseGopayOrderId;
	}
	@Column(name = "OPER_ID")
	public String getOperId() {
		return operId;
	}

	public void setOperId(String operId) {
		this.operId = operId;
	}
	@Column(name = "OPER_NUM")
	public String getOperNum() {
		return operNum;
	}

	public void setOperNum(String operNum) {
		this.operNum = operNum;
	}
	@Column(name = "CREATE_TIME")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	
}
